﻿using System;
using System.Collections.Generic;
using System.Data;
using YmtRpc.Domain;
using YmtRpc.Domain.Enum;

namespace Ymt.Repository
{

    /// <summary>
    /// RPC客户端配置的仓储接口类
    /// </summary>
    public interface IRpcClientconfigRepository : IMySQLRepository<RpcClientconfig>
    {
        /// <summary>
        /// 获取RPC客户端配置列表
        /// </summary>
        /// <returns></returns>
        List<RpcClientconfig> GetList(string appId);

        /// <summary>
        /// 获取应用程序列表
        /// </summary>
        /// <returns></returns>
        List<string> GetAppList();
    }
}
